package rui.game.component;

import javax.swing.*;
import java.awt.*;

/**
 * @author 赵睿
 */
public class Scope extends JLabel {

    public Scope() {
        super("计分：");

        this.setHorizontalAlignment(SwingConstants.RIGHT);
        this.setFont(new Font("楷体", Font.BOLD, 17));
        this.setBounds(10, 0, 59, 50);// 设置jifenlabel的坐标和大小
    }

    public static Scope init(Scope scope) {
        if(scope==null){
            scope=new Scope();
        }
        return scope;
    }
}
